// pages/customService/customService.js
const app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    htmlSnip:''
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    wx.request({
      url: app.globalData.prefix + "/systemAction/custom.do",
      data: {
        name: 'custom_service'
      },
      success: (res) => {
        let status = res.data.status
        if (status == "00") {
          this.setData({
            htmlSnip:res.data.result
          })
        } else {
          wx.$showToast(res.data.errorMsg)
        }
      }
    })
  }
})